
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.RoleEmployee;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage RoleEmployee entities.
 * 
 */
public interface RoleEmployeeDAO extends JpaDao<RoleEmployee> {

	/**
	 * JPQL Query - findRoleEmployeeByMemoContaining
	 *
	 */
	public Set<RoleEmployee> findRoleEmployeeByMemoContaining(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findRoleEmployeeByMemoContaining
	 *
	 */
	public Set<RoleEmployee> findRoleEmployeeByMemoContaining(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRoleEmployeeById
	 *
	 */
	public RoleEmployee findRoleEmployeeById(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findRoleEmployeeById
	 *
	 */
	public RoleEmployee findRoleEmployeeById(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRoleEmployeeByPrimaryKey
	 *
	 */
	public RoleEmployee findRoleEmployeeByPrimaryKey(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findRoleEmployeeByPrimaryKey
	 *
	 */
	public RoleEmployee findRoleEmployeeByPrimaryKey(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRoleEmployeeByMemo
	 *
	 */
	public Set<RoleEmployee> findRoleEmployeeByMemo(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findRoleEmployeeByMemo
	 *
	 */
	public Set<RoleEmployee> findRoleEmployeeByMemo(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllRoleEmployees
	 *
	 */
	public Set<RoleEmployee> findAllRoleEmployees() throws DataAccessException;

	/**
	 * JPQL Query - findAllRoleEmployees
	 *
	 */
	public Set<RoleEmployee> findAllRoleEmployees(int startResult, int maxRows) throws DataAccessException;

}